package com.example.demo;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface myChannel {

	String CONSUMER = "aster1";
	String PRODUCTOR = "aster2";
	
	@Input(CONSUMER)
	SubscribableChannel consumer();
	
	@Output(PRODUCTOR)
	MessageChannel productor();
}
